package com.boge.modules.house.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boge.common.utils.PageUtils;
import com.boge.common.utils.Query;

import com.boge.modules.house.dao.TKdDao;
import com.boge.modules.house.entity.TKdEntity;
import com.boge.modules.house.service.TKdService;


@Service("tKdService")
public class TKdServiceImpl extends ServiceImpl<TKdDao, TKdEntity> implements TKdService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TKdEntity> page = this.page(
                new Query<TKdEntity>().getPage(params),
                new QueryWrapper<TKdEntity>()
        );

        return new PageUtils(page);
    }

}